<html>
<head><meta charset="utf-8"><title>DiagnosticBuilder takes `std::fmt::Arguments` · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/DiagnosticBuilder.20takes.20.60std.3A.3Afmt.3A.3AArguments.60.html">DiagnosticBuilder takes `std::fmt::Arguments`</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="205233802"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/DiagnosticBuilder%20takes%20%60std%3A%3Afmt%3A%3AArguments%60/near/205233802" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/DiagnosticBuilder.20takes.20.60std.3A.3Afmt.3A.3AArguments.60.html#205233802">(Jul 28 2020 at 13:21)</a>:</h4>
<p>I remember there was a PR try to make <code>DiagnosticBuilder</code> takes <code>std::fmt::Arguments</code> as arguments.<br>
What was its result?</p>



<a name="205236702"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/DiagnosticBuilder%20takes%20%60std%3A%3Afmt%3A%3AArguments%60/near/205236702" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/DiagnosticBuilder.20takes.20.60std.3A.3Afmt.3A.3AArguments.60.html#205236702">(Jul 28 2020 at 13:45)</a>:</h4>
<p>I think we're not touching any of the diagnostics infra and instead focussing on <a href="https://github.com/rust-lang/annotate-snippets-rs">https://github.com/rust-lang/annotate-snippets-rs</a></p>



<a name="205251627"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/DiagnosticBuilder%20takes%20%60std%3A%3Afmt%3A%3AArguments%60/near/205251627" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lzutao <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/DiagnosticBuilder.20takes.20.60std.3A.3Afmt.3A.3AArguments.60.html#205251627">(Jul 28 2020 at 15:35)</a>:</h4>
<p>thank for the answer. <br>
Did you remember the PR that I described?</p>



<a name="205251865"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/DiagnosticBuilder%20takes%20%60std%3A%3Afmt%3A%3AArguments%60/near/205251865" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> oli <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/DiagnosticBuilder.20takes.20.60std.3A.3Afmt.3A.3AArguments.60.html#205251865">(Jul 28 2020 at 15:37)</a>:</h4>
<p>I don't remember anything about the PR except that I thought it was closed due to the above reason</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>